package com.platform.system.domain;

import io.swagger.v3.oas.annotations.media.Schema;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.platform.common.annotation.Excel;
import com.platform.common.core.domain.BaseEntity;

/**
 * 收藏对象 pro_collect
 *
 * @author platform
 * @date 2025-02-23
 */
@Schema(name = "收藏对象", description = "")
public class ProCollect extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 序号
     */
    @Excel(name = "序号")
    @Schema(description = "序号", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long id;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    @Schema(description = "商品名称", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String producproName;

    /**
     * 商品图片
     */
    @Excel(name = "商品图片")
    @Schema(description = "商品图片", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String producproImg;

    /**
     * 商品id
     */
    @Excel(name = "商品id")
    @Schema(description = "商品id", implementation = String.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private String producproId;

    /**
     * 用户id
     */
    @Excel(name = "用户id")
    @Schema(description = "用户id", implementation = Long.class, requiredMode = Schema.RequiredMode.AUTO, example = "")
    private Long userId;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setProducproName(String producproName) {
        this.producproName = producproName;
    }

    public String getProducproName() {
        return producproName;
    }

    public void setProducproImg(String producproImg) {
        this.producproImg = producproImg;
    }

    public String getProducproImg() {
        return producproImg;
    }

    public void setProducproId(String producproId) {
        this.producproId = producproId;
    }

    public String getProducproId() {
        return producproId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("producproName", getProducproName())
                .append("producproImg", getProducproImg())
                .append("producproId", getProducproId())
                .append("userId", getUserId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
